#define _CRT_SECURE_NO_WARNINGS 1
#include"Vector.h"
using taige::vector;

void Test1()
{
	vector<int> v;
	v.push_back(1);
	v.push_back(2);
	v.push_back(3);
	v.push_back(4);
	v.push_back(5);

	for (size_t i = 0; i < v.size(); i++)
	{
		cout << v[i] << "  ";
	}
	cout << endl;

	vector<int>::iterator it = v.begin();
	while (it != v.end())
	{
		cout << *it << "  ";
		++it;
	}
	cout << endl;

	for (auto e : v)
	{
		cout << e << "  ";
	}
	cout << endl;
}

int main()
{
	Test1();
	return 0;
}

